package com.yzl.meeting.framework.context;

import com.yzl.meeting.framework.beans.factory.BeanFactoryImpl;
import com.yzl.meeting.framework.beans.factory.xml.XmlBeanDefinitionReader;
import com.yzl.meeting.framework.core.io.ClassPathResource;
import com.yzl.meeting.framework.core.io.FileSystemResource;
import com.yzl.meeting.framework.core.io.Resource;

/**
 * @Title: ClasspathXmlApplicationContext
 * @Author: 姚志立
 * @Description:
 * @Date: 2020/10/20 15:47
 * @Version: 1.0
 */
public class FileSystemXmlApplicationContext extends AbstractApplicationContext implements ApplicationContext {
    public FileSystemXmlApplicationContext(String fileName) {
        super(fileName);
    }
    @Override
    protected Resource getPathResource(String fileName) {
        return new FileSystemResource(fileName);
    }
}